<template>
  <div>
    <h1>首页</h1>

    <p>{{ $store.state.counter }}</p>
    <button @click="$store.commit('addCounter')">增加</button>
  </div>
</template>

<script>
export default {};
</script>

<style></style>
